<template>
  <view class="jkcp">
    <view class="fixed_tp">
      <image
        src="../../static/images/heileft.png"
        mode="widthFix"
        style="width: 20rpx"
        @click="back"
      ></image>
      <view class="fixed_tit">
        <slot name="title">
        </slot>
      </view>
      <view class="fixed_right"></view>
    </view>
  </view>
</template>

<script>
export default {
  name: "ApplyToptitle",

  data() {
    return {};
  },

  mounted() {},

  methods: {
    back() {
      uni.navigateBack(-1);
    },
  },
};
</script>

<style lang="scss" scoped>
.jkcp {
  .fixed_tp {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80rpx;
    background-color: rgb(248, 248, 248);
    color: #000;
    padding: 0 20rpx;
    .fixed_right {
      color: #35b9c2;
    }
  }
}
</style>